package com.ls.fw.search.solrj.form.collection;

import org.hibernate.validator.constraints.NotBlank;

/**
 * Delete the stored response of an already failed or completed Asynchronous
 * Collection API call.
 * 
 * @author ls
 *
 */
public class DeleteStatusForm {

	// The user defined request-id for the Asynchronous request.
	@NotBlank
	private String requestid;
	@NotBlank
	private String action = "DELETESTATUS";
	private Boolean flush;

	public String getAction() {
		return action;
	}

	public void setAction(String action) {
		this.action = action;
	}

	public String getRequestid() {
		return requestid;
	}

	public void setRequestid(String requestid) {
		this.requestid = requestid;
	}

	public Boolean getFlush() {
		return flush;
	}

	public void setFlush(Boolean flush) {
		this.flush = flush;
	}

}
